<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>ERP Mission - A Project sponsored by NMEICT, MHRD, Govt. of India</title>
        <script language="JavaScript" type="text/JavaScript" src="../javaScript/ajax/jquery2.js"></script>
        <link href="../css/pico.css" rel="stylesheet" type="text/css" />
        <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
        <meta name="description" content="ERP for Universities">
        <meta name="keywords" content="ERP">
        <meta name="author" content="S.Kazim Naqvi, Jamia Millia Islamia">
        <meta name="email" content="sknaqvi@jmi.ac.in">
        <meta name="copyright" content="NMEICT, MHRD, Govt. of India">
    </head>
    <body class="twoColElsLtHdr">
        <div id="container">
            <div id="header">
                <jsp:include page="header.jsp" flush="true"></jsp:include>
            </div>
            <s:property value="message" />
            <div id="sidebar1">
                <jsp:include page="menu.jsp" flush="true"></jsp:include>
            </div>
            <!-- *********************************End Menu****************************** -->
            <div id ="mainContent">
               <s:form name="frmSubInstitution" action="SaveSubInstitutionAction"  validate="true">
                   <s:hidden name="simId" />
                    <table border="0" cellpadding="4" cellspacing="0" align="center">
                        <tbody>
                            <tr>
                                <td colspan="2" align="left">                                    
                            </tr>
                            <tr>
                                <td valign="middle" class="FormContent">
                                    <s:label value="COLLEGE/FACULTY/SCHOOL MANAGEMENT" />
                                </td>
                            </tr>
                            <tr>
                                <td> <br><br>
                                    <s:url action="BrowseSubInstitutions" id="NavigatetoURL"></s:url>
                                    <a href='<s:property value="NavigatetoURL"/>'>Browse Institutions</a>
                                    <br>
                                    <s:select label="Institution" name="simImId" headerKey="" headerValue="-- Please Select --" list="simImIdList" listKey="imId" listValue="imName"/>
                                    <s:textfield required="true" requiredposition="left" maxLength="100" size="100"
                                                 label="College/Faculty/School Name" name="simName" title="Enter College/Faculty/School" />
                                    <s:select label="Type" name="simType" headerKey="" headerValue="-- Please Select --" list="simTypeList" listKey="simtTypeId" listValue="simtName"/>
                                    <s:textfield required="true" requiredposition="left" maxLength="10" size="10"
                                                 label="Institution Short Name" name="simShortName" title="Enter Short Name for InstitutionName" />
                                    <s:textfield required="true" requiredposition="left" maxLength="50" size="50"
                                                 label="Institution Address" name="simAddressLine1" title="Enter Address" />
                                    <s:textfield required="false" requiredposition="left" maxLength="50" size="50"
                                                 name="simAddressLine2" title="Enter Institution Address" />
                                    <s:textfield required="false" requiredposition="left" maxLength="50" size="50"
                                                 label="District" name="simDistrict" title="Enter District " />
                                    <s:select label="State" name="simStateId" headerKey="" headerValue="-- Please Select --" list="statemasterList" listKey="stateId" listValue="stateName"/>
                                    <s:textfield required="true" requiredposition="left" maxLength="6" size="6"
                                                 label="Pin Code" name="simPinNo" title="Enter Pin Code" />
                                     <s:textfield required="true" requiredposition="left" maxLength="50" size="50"
                                                 label="Institution E-Mail" name="simEmailId" title="Enter Institution E-Mail Address" />
                                     <s:hidden name="EntryOn" value="true" /> 
                                </td>
                            </tr> <tr>
                                <td>
                                    <s:submit theme="simple" name="btnSubmit" value="Save Institution"  />
                                </td>
                                <td>
                                    <s:submit theme="simple" name="bthReset" value="Clear" onclick="javascript:clearBudgettypemasterFields();"  />
                                <td>
                            </tr>
                            <tr>
                    <td> <br><br> </td>
                </tr>
                 <tr>
                    <td> <br><br> </td>
                </tr>

                        </tbody>
                    </table>
                </s:form>
            </div>
            <div id="footer">
                <jsp:include page="footer.jsp" flush="true"></jsp:include>
            </div>
        </div>
    </body>
</html>